package com.qiaofang.applet.service.member.service.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.qiaofang.applet.common.base.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel("浏览记录列表详情DTO")
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class MemberExploreDetailDto extends BaseDto {

    @ApiModelProperty("id")
    private String id;

    @ApiModelProperty("会员ID")
    private String memberId;

    @ApiModelProperty("会员名称")
    private String memberName;

    @ApiModelProperty("浏览日期")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;

    @ApiModelProperty("所在地")
    private String cityName;

    @ApiModelProperty("业务UUID：房源UUID或者员工UUID")
    private String businessUuid;

    @ApiModelProperty("业务类型: 1:新房 2:二手房 3:租房 4:经纪人")
    private String businessType;

    @ApiModelProperty("楼盘名称")
    private String estateName;

    @ApiModelProperty("户型")
    private String houseType;

    @ApiModelProperty("价格")
    private String price;

    @ApiModelProperty("房源编号")
    private String propertyNo;
}
